<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title>Add new Product Page</title>
	</head>



	<body>
		<table border=1 width="80%" align="center" height="100%">
			<tr>
				<td colspan=2>
					<jsp:include page="header.jsp"></jsp:include>
				</td>
			</tr>
			<tr>
				<td width="20%">
					<jsp:include page="adminfunc.jsp"></jsp:include>
				</td>
				<td>
					<h1>
						<center>
							Add Your new product
						</center>
					</h1>
					<form action="AddNewProduct.do" method="POST">
						<center>
							<table cellpadding=4 cellspacing=2 border=0>
								<tr>
									<th width="50%">
										Type
									</th>
									<th width="55%">
										Detail
									</th>
								</tr>
								<tr>
									<td>
										Product Number
									</td>
									<td>
										<input type="text" size="15" name="productnum"
											value="${RequestScope.Product.productnum}">
									</td>
								<tr>
									<td>
										Product Name
									</td>
									<td>
										<input type="text" name="productname"
											value="${RequestScope.Product.productname}" size=15
											maxlength=20>
									</td>
								</tr>
								<tr>
									<td>
										Unit Price
									</td>
									<td>
										<input type="text" name="unitprice"
											value="${RequestScope.Product.unitprice}" size=15
											maxlength=20>
									</td>
								</tr>
								<tr>
									<td>
										Description
									</td>
									<td>
										<input type="text" name="description"
											value="${RequestScope.Product.description}" size=15
											maxlength=20>
									</td>
								</tr>
								<tr>
									<td>
										Color
									</td>
									<td>
										<input type="text" name="color"
											value="${RequestScope.Product.color}" size=15 maxlength=20>
									</td>
								</tr>
								<tr>
									<td>
										Dimension
									</td>
									<td>
										<input type="text" name="dimension"
											value="${RequestScope.Product.dimension}" size=15
											maxlength=20>
									</td>
								</tr>
								<tr>
									<td>
										Manufacturer
									</td>
									<td>
										<input type="text" name="manufacturer"
											value="${RequestScope.Product.manufacturer}" size=15
											maxlength=20>
									</td>
								</tr>
								<tr>
									<td>
										Reorder Level
									</td>
									<td>
										<input type="text" name="reorderlevel"
											value="${RequestScope.Product.reorderlevel}" size=15
											maxlength=20>
									</td>
								</tr>
								<tr>
									<td>
										Minimum Order
									</td>
									<td>
										<input type="text" name="minorder"
											value="${RequestScope.Product.minorder}" size=15 maxlength=20>
									</td>
								</tr>
								<tr>
									<td>
										Shelf Location
									</td>
									<td>
										<input type="text" name="shelflocation"
											value="${RequestScope.Product.shelflocation}" size=15
											maxlength=20>
									</td>
								</tr>
								<tr>
									<td>
										InStock
									</td>
									<td>
										<input type="text" name="instock"
											value="${RequestScope.Product.instock}" size=15 maxlength=20>
									</td>
								</tr>
							</table>
						</center>
						<center>
							<br>
							<br>
							<input type="submit" value="Add">
							<input type="reset" value="Clear">
						</center>
					</form>
				</td>
			</tr>
		</table>

	</body>
</html>
